function printID(id:number | string){
  if(typeof id === 'string'){
    console.log(id.toLowerCase());
    
  }else{
    console.log(id);
    
  }
}
printID(1)
printID('aaa')